package geradatawarehouse.dao.oracle.abs;

import geradatawarehouse.dao.abs.AbstractDAO;
import geradatawarehouse.dao.config.ConnectionConfiguration;

import java.io.IOException;
import java.sql.ResultSet;

/**
 * Classe para conexões com a base Oracle
 * 
 * @author Hyzandey
 * 
 */
public class OracleDAO extends AbstractDAO {

	protected ResultSet resultSet;

	public OracleDAO() throws IOException {
		super(ConnectionConfiguration.DatabaseType.ORACLE);
	}

	protected Boolean parseBooleanStringEqualsInsensitive(
			final String booleanString, final String booleanTrueString) {

		if (booleanString != null) {
			return booleanString.toLowerCase().equals(
					booleanTrueString.toLowerCase());
		}

		return null;
	}
}
